package org.jeecg.modules.bobo.common.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 轮播图
 * @Author: jeecg-boot
 * @Date:   2020-11-26
 * @Version: V1.0
 */
@Data
@TableName("lb_slide_item")
@ApiModel(value="lb_slide对象", description="轮播图分组")
public class LbSlideItem implements Serializable {
    private static final long serialVersionUID = 1L;
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "id")
	private String id;
	/**分类id*/
	@ApiModelProperty(value = "分类id")
	private String pid;
	/**状态*/
	@Excel(name = "状态", width = 15)
	@ApiModelProperty(value = "状态")
	private String status;
	/**排序*/
	@Excel(name = "排序", width = 15)
	@ApiModelProperty(value = "排序")
	private Double listOrder;
	/**幻灯片名称*/
	@Excel(name = "幻灯片名称", width = 15)
	@ApiModelProperty(value = "幻灯片名称")
	private String title;
	/**幻灯片图片*/
	@Excel(name = "幻灯片图片", width = 15)
	@ApiModelProperty(value = "幻灯片图片")
	private String image;
	/**幻灯片链接*/
	@Excel(name = "幻灯片链接", width = 15)
	@ApiModelProperty(value = "幻灯片链接")
	private String url;
	/**友情链接打开方式*/
	@Excel(name = "友情链接打开方式", width = 15)
	@ApiModelProperty(value = "友情链接打开方式")
	private String target;
	/**幻灯片描述*/
	@Excel(name = "幻灯片描述", width = 15)
	@ApiModelProperty(value = "幻灯片描述")
	private String description;
	/**幻灯片内容*/
	@Excel(name = "幻灯片内容", width = 15)
	@ApiModelProperty(value = "幻灯片内容")
	private String content;
	/**链接打开方式*/
	@Excel(name = "链接打开方式", width = 15)
    @Dict(dicCode = "target",dicText = "",dictTable = "")
	@ApiModelProperty(value = "链接打开方式")
	private String more;
	/**请求时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "请求时间")
	private Date createTime;

}
